/*
 * ap.h
 *
 *  Created on: 2025.4.3
 *      Author: TracyHenry
 */

 #ifndef AP_H_
 #define AP_H_
#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "lwip/err.h"
#include "lwip/sys.h"
#include "lwip/sockets.h"
#include "addr.h"
#include "cJSON.h"
#include "esp_wifi.h"


uint8_t analyzeWifi(char * json_string, char * wifiname, char * wifipwd);
void analyze(char * json_string);
void task_ap(void* arg);
portBASE_TYPE ap_task_stop(void);
portBASE_TYPE apInfoIsEmpty();
 #endif /* AP_H_ */